feat: bb uses goblin#3636
Conversation
|
|
||
| Make acir_format and acir_proofs tests work | ||
|
|
||
| Stetch: try to understand what is_recursive flag should do |
There was a problem hiding this comment.
We allow two proving systems to be created, once of them is "snark friendly" meaning that it uses PedersenBlake in the transcript and the other is solidity friendly meaning that it uses keccak in the transcript.
When creating a proof that we will want to verify in a another circuit, we use the is_recursive flag.
See https://hackmd.io/@6iQDuIePQjyYBqDChYw_jg/SyLHcKsSa for a few more details
There was a problem hiding this comment.
Thanks for explaining. Our plans is to do violence to the code to get something working in the non-recursive case this week then check in with you and Maxim (prob next year?) to look things over together and rework to something non-disgusting :)
There was a problem hiding this comment.
Bear in mind that if a release is made, then this code will make its way into Noir user's hands -- haven't looked over the changes, though it seems that the solidity verifier contract may no longer work for them if this were to be merged?
There was a problem hiding this comment.
Ok don't worry, we just want to get it working in this branch, won't merge
4116666 to
b17dc2d
Compare
7999299 to
cd99d53
Compare
| # It may not catch all class of bugs. | ||
| $BIN prove_and_verify $VFLAG -c $CRS_PATH -b ./target/acir.gz No newline at end of file | ||
| $BIN prove_and_verify $VFLAG -c $CRS_PATH -b ./target/acir.gz | ||
| # lldb-16 -- $BIN prove_and_verify $VFLAG -c $CRS_PATH -b ./target/acir.gz |
Benchmark resultsNo metrics with a significant change found. Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
|
3d3a4f9 to
f71424c
Compare
Co-authored-by: ledwards2225 <ledwards2225@users.noreply.github.com>
| Major TODOS | ||
| acir_format::Composer (and other types) become GUH | ||
| ? stretch update create_circuit to use Goblin gates (build_contraints and circuit_buf_to_acir_format in particular?) | ||
| Update AcirComposer |
| @@ -0,0 +1,43 @@ | |||
| #pragma once | |||
|
|
|||
| #include "barretenberg/common/log.hpp" | |||
There was a problem hiding this comment.
nit: usually there's a better name than X_utility. But to be clear, it's holidays, get'er in
There was a problem hiding this comment.
changed to instance_inspector - useful for now but may delete in the near future
| * The path to our SRS object, assuming that we are in e.g. barretenberg/ts/dest/node/crs/node folder. | ||
| */ | ||
| export const SRS_DEV_PATH = getCurrentDir() + '/../../../cpp/srs_db/ignition/monomial'; | ||
| export const SRS_DEV_PATH = getCurrentDir() + '/../../../../../cpp/srs_db/ignition/monomial'; |
There was a problem hiding this comment.
the old path actually never found the file, always downloaded
…-packages into cg-lde/expose-goblin
|
Wait why has this now been merged? see: #3636 (comment) |
Not to worry! This still isn't hooked up to anything real, it just runs a few new tests using Goblin. Sorry - poor communication on our part. When Cody said "this wont be merged" we were still thinking it wouldn't be. Since then we decided to do something more isolated very much for the purpose of getting it merged |
"vertical slice" of goblin integrating with ACIR and BB.
Beginning of goblin ultra honk interface for bb. Can only run a basic test (assert_statement) for now and is not intended for use outside of the CI check that it's still working, for now.
prove_and_verify_goblin. Adds bb.js bindings for goblin prove/verifydslfolder to be able to take a goblin builderprove_and_verify_goblin